$OpenBSD: patch-Makefile_tool_am,v 1.1 2017/05/25 19:19:41 espie Exp $

Index: Makefile.tool.am
--- Makefile.tool.am.orig
+++ Makefile.tool.am
@@ -39,7 +39,7 @@ TOOL_LDFLAGS_COMMON_DARWIN = \
 TOOL_LDFLAGS_COMMON_FREEBSD = -static \
 	-nodefaultlibs -nostartfiles -u _start @FLAG_NO_BUILD_ID@
 TOOL_LDFLAGS_COMMON_OPENBSD = -static \
-	-nodefaultlibs -nostartfiles -u __start @FLAG_NO_BUILD_ID@
+	-nodefaultlibs -nostartfiles -Wl,-u,__start @FLAG_NO_BUILD_ID@
 
 TOOL_LDFLAGS_X86_LINUX = \
 	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@
